package edu.pku.sei.modeler.editparts;

import org.eclipse.gef.EditPolicy;

import edu.pku.sei.modeler.edit.parts.AbstractLinkEditPart;
import edu.pku.sei.modeler.editpolicies.UMLConnectionEditPolicy;
import edu.pku.sei.modeler.model.structure.MetaShapeElement;

public class UMLLinkEditpart extends AbstractLinkEditPart {

	public UMLLinkEditpart(MetaShapeElement conn) {
		super(conn);
	}

	@Override
	protected void createEditPolicies() {
		super.createEditPolicies();
//		Allows the removal of the connection model element
		installEditPolicy(EditPolicy.CONNECTION_ROLE, new UMLConnectionEditPolicy());
	}
	
	

}
